Ext.define('AmpleHarvest.objects.Statistics.absPanel',
		{
			extend			: 'Ext.panel.Panel',
			layout			: 'fit',
			border:0,
			resizable:false,
			m_obj_Mask		: null,
			showMask		: function()
			{
				if (!this.m_obj_Mask)
				{
					this.m_obj_Mask = new Ext.LoadMask(this,
							{
								msg	: "Loading Data..."
							});
				}
				this.m_obj_Mask.show();
			},
			hideMask		: function(obj_Store, arr_Records, bool_Success,
					obj_Operation, obj_Options)
			{
				if (this.m_obj_Mask)
				{
					this.m_obj_Mask.hide();
				}

				if (!bool_Success)
				{
					Ext.MessageBox.alert("Error", "Unable to load data");
				}

			},
			updateData		: function()
			{
				this.m_obj_Store.load();
			},
			setStore		: function(obj_Store)
			{
				this.m_obj_Store = obj_Store;
			},
			getStore		: function(obj_Store)
			{
				return this.m_obj_Store;
			}
		});